package com.shao.im.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shao.im.entity.Comment;
import com.shao.im.entity.vo.CommentVo;

import java.util.List;

/**
 * 评论表(Comment)表服务接口
 *
 * @author makejava
 * @since 2023-08-04 22:23:24
 */
public interface CommentService extends IService<Comment> {

    /**
     * 通过动态id查找动态评论
     * @param pid
     * @return
     */
    List<CommentVo> queryCommentByPid(Integer pid);
}

